package com.swsc.xapp.xroom;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * <p>
 * 组织机构表
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-02-24
 */

@Entity(tableName = "sys_corporation")
public class CorporationDO {

    @PrimaryKey
    private Integer id;
    /**
     * 版本
     */
    @ColumnInfo(name = "version")
    private Short version;

    /**
     * 删除标记
     */

    private Integer deleted;

    /**
     * 创建者
     */
    @ColumnInfo(name = "create_by")
    private String createBy;

    /**
     * 修改者
     */
    @ColumnInfo(name = "update_by")
    private String updateBy;

    /**
     * 创建时间 由数据库控制
     */
    @ColumnInfo(name = "create_time")
    private String createTime;

    /**
     * 更新时间 由数据库控制
     */
    @ColumnInfo(name = "update_time")
    private String updateTime;

    /**
     * 租户编号
     */
    @ColumnInfo(name ="tenant_no")
    private Integer tenantNo;

    /**
     * 组织id
     */
    @ColumnInfo(name ="organ_no")
    private Integer organNo;

    /**
     * 名称
     */
    @ColumnInfo(name ="organ_name")
    private String organName;

    /**
     * 简称
     */
    @ColumnInfo(name ="organ_short_name")
    private String organShortName;

    /**
     * 上级组织id
     */
    @ColumnInfo(name ="organ_pno")
    private Integer organPno;

    /**
     * 组织类型: HQ 总部, BO 分公司, PS 电站
     */
    @ColumnInfo(name ="organ_type")
    private String organType;

    /**
     * 组织等级
     */
    @ColumnInfo(name ="organ_level")
    private Integer organLevel;

    /**
     * 装机容量
     */
    @ColumnInfo(name ="capacity")
    private Float capacity;

    /**
     * 经度
     */
    @ColumnInfo(name ="longitude")
    private Double longitude;

    /**
     * 纬度
     */
    @ColumnInfo(name ="latitude")
    private Double latitude;

    /**
     * 联系人
     */
    @ColumnInfo(name ="contact")
    private String contact;

    /**
     * 联系电话
     */
    @ColumnInfo(name ="telephone")
    private String telephone;

    /**
     * 移动电话
     */
    @ColumnInfo(name ="mobilephone")
    private String mobilephone;

    /**
     * icon
     */
    @ColumnInfo(name ="icon")
    private String icon;

    /**
     * 状态
     */
    @ColumnInfo(name ="state")
    private String state;

    /**
     * 地址
     */
    @ColumnInfo(name ="address")
    private String address;

    /**
     * 备注
     */
    @ColumnInfo(name ="remark")
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Short getVersion() {
        return version;
    }

    public void setVersion(Short version) {
        this.version = version;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getTenantNo() {
        return tenantNo;
    }

    public void setTenantNo(Integer tenantNo) {
        this.tenantNo = tenantNo;
    }

    public Integer getOrganNo() {
        return organNo;
    }

    public void setOrganNo(Integer organNo) {
        this.organNo = organNo;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getOrganShortName() {
        return organShortName;
    }

    public void setOrganShortName(String organShortName) {
        this.organShortName = organShortName;
    }

    public Integer getOrganPno() {
        return organPno;
    }

    public void setOrganPno(Integer organPno) {
        this.organPno = organPno;
    }

    public String getOrganType() {
        return organType;
    }

    public void setOrganType(String organType) {
        this.organType = organType;
    }

    public Integer getOrganLevel() {
        return organLevel;
    }

    public void setOrganLevel(Integer organLevel) {
        this.organLevel = organLevel;
    }

    public Float getCapacity() {
        return capacity;
    }

    public void setCapacity(Float capacity) {
        this.capacity = capacity;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
